<template>
  <div class="">
    <!--<ul>-->
    <!--<li v-for="item in data.data">{{item}}</li>-->
    <!--</ul>-->
  </div>
</template>

<script>
//  import fontSize from './asstes/js/font-size'
  export default {
    data(){
      return {
        data: []
      }
    }/*,
    mounted:function () {
      console.log(this.$http)
      this.$http.jsonp('https://m.toutiao.com/list/?tag=__all__&ac=wap&count=20&format=json_raw&as=A1754937CF62685&cp=597FA2E6D8554E1&min_behot_time=0', {wd: "a"}, {jsonp: "cb"}).then((res)=> {
        this.data = res.data
//        console.log(res)
      }, ()=> {
        alert("shibai")
      })
    }*/
    /*  mounted: function () {
     this.$http.get('../../static/data.json').then(function (res) {
     this.data=res.data
     console.log(res.data)
     }, function () {
     alert("shibai")
     })
     }*/
  }


  /*
   * .then((res) => {
   this.data = res.data;
   console.log(res.data)
   }, (res) => {
   console.log("请求数据失败")
   })
   * */


</script>
<style lang="css">

</style>
